Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(BEDS-295) implement automated api doc generation #748

Merged
merged 22 commits into from
Sep 17, 2024

Conversation

LuccaBitfly
Copy link
Contributor

No description provided.

Copy link
Contributor

@remoterami remoterami left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Comment on lines 117 to 128
// PublicPostValidatorDashboards godoc
//
// @Description Create a new validator dashboard. **Note**: New dashboards will automatically have a default group created.
// @Security ApiKeyInHeader || ApiKeyInQuery
// @Tags Validator Dashboards
// @Accept json
// @Produce json
// @Param request body handlers.PublicPostValidatorDashboards.request true "`name`: Specify the name of the dashboard.<br>`network`: Specify the network for the dashboard. Possible options are:<ul><li>`ethereum`</li><li>`gnosis`</li></ul>"
// @Success 201 {object} types.PostValidatorDashboardsResponse
// @Failure 400 {object} types.ApiErrorResponse
// @Failure 409 {object} types.ApiErrorResponse "Conflict. The request could not be performed by the server because the authenticated user has already reached their dashboard limit."
// @Router /validator-dashboards [post]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would be cool if there was a way to even generate stubs of these. Like at least the route, return objects etc.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

best we can get is prob copilot auto completion 🤷

Copy link

cloudflare-workers-and-pages bot commented Aug 28, 2024

Deploying beaconchain with  Cloudflare Pages  Cloudflare Pages

Latest commit: 30335c5
Status: ✅  Deploy successful!
Preview URL: https://b807fccc.beaconchain.pages.dev
Branch Preview URL: https://beds-295-api-docs.beaconchain.pages.dev

View logs

@LuccaBitfly LuccaBitfly merged commit fa2d7bc into staging Sep 17, 2024
4 checks passed
@LuccaBitfly LuccaBitfly deleted the BEDS-295/api-docs branch September 17, 2024 11:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants